<template>
  <div>
    <Dog3
      v-for="(obj, index) in arr"
      :key="index"
      :imgurl="obj.dogImgUrl"
      :dogname="obj.dogName"
    ></Dog3>
  </div>
</template>

<script>
import Dog3 from './components/Dog3.vue'
export default {
  data() {
    return {
     arr: [
        {
          dogImgUrl:
            'http://nwzimg.wezhan.cn/contents/sitefiles2029/10146688/images/21129958.jpg',
          dogName: '博美',
        },
        {
          dogImgUrl:
            'https://gimg2.baidu.com/image_search/src=http%3A%2F%2F5b0988e595225.cdn.sohucs.com%2Fimages%2F20190609%2Fe402f7da1fdc4b99b39736b36afcdf11.jpeg&refer=http%3A%2F%2F5b0988e595225.cdn.sohucs.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1666442211&t=16099322b5511230988807e3becba906',
          dogName: '泰迪',
        },
        {
          dogImgUrl:
            'https://img1.baidu.com/it/u=871593259,2500899929&fm=253&fmt=auto&app=138&f=GIF?w=351&h=480',
          dogName: '金毛',
        },
        {
          dogImgUrl:
            'https://pic1.zhimg.com/80/v2-7ba4342e6fedb9c5f3726eb0888867da_1440w.jpg?source=1940ef5c',
          dogName: '哈士奇',
        },
        {
          dogImgUrl:
            'https://img0.baidu.com/it/u=785702198,2527104588&fm=253&fmt=auto&app=138&f=JPEG?w=270&h=270',
          dogName: '阿拉斯加',
        },
        {
          dogImgUrl:
            'https://img1.baidu.com/it/u=3078952733,2742580416&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=625',
          dogName: '萨摩耶',
        },
      ],
    }
  },
  components: {
    Dog3,
  }
}
</script>

<style></style>
